
public class zy08 {
	private int money;
	zy08(){
		money=2000;
	}
	private int getMoney(){
		return money;
		
	}
	public static void main(String[] args){
		zy08 exa=new zy08();
		exa.money=3000;
		int m=exa.getMoney();
		System.out.println("money="+m);
	}

}
